#!/bin/bash
step=7 #间隔的秒数，不能大于60
for (( i = 0; i < 60; i=(i+step) )); do
  eval "/usr/bin/curl 'https://api.usdf.live/api/task/updatePrice?type=GC'"
  eval "/usr/bin/curl 'https://api.usdf.live/api/task/updatePrice?type=CL'"
  eval "/usr/bin/curl 'https://api.usdf.live/api/task/updatePrice?type=HG'"
  eval "/usr/bin/curl 'https://api.usdf.live/api/task/updatePrice?type=SI'"
  sleep $step
done
exit 0
